﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace Note2.Db
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("RemoteLogging")]
    public class NoteRecord
    {
        public NoteRecord()
        {

        }
        public NoteRecord(string serverIP, string serverAccount, string serverPassWord,string serverDesc, string noteType)
        {
            ServerIP = serverIP;
            ServerAccount = serverAccount;
            ServerPassWord = serverPassWord;
            ServerDesc = serverDesc;
            NoteType = noteType;
        }
    
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="ServerDesc"    )]
         public string ServerDesc { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
        [SugarColumn(ColumnName = "NoteType")]
        public string NoteType { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
        [SugarColumn(ColumnName="ServerIP",IsPrimaryKey=true)]
         public string ServerIP { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="ServerAccount")]
         public string ServerAccount { get; set; }
        /// <summary>
        ///  
        /// 默认值: 
        ///</summary>
         [SugarColumn(ColumnName="ServerPassWord"    )]
         public string ServerPassWord { get; set; }
        /// <summary>
        ///  
        /// 默认值: 0
        ///</summary>
         [SugarColumn(ColumnName="orderSort"  ,DefaultValue = "0"  )]
         public int OrderSort { get; set; }
    }
}
